from django.contrib import admin
from Teach.models import *

# Register your models here.
class StudentModel(admin.ModelAdmin):
    list_display = ['name', 'age', 'sex']
    search_fields = ['name', 'age', 'sex']
    list_filter = ['name', 'age', 'sex']
    ordering = ['age']

admin.site.register(Student, StudentModel)
